<nz-spin [nzSpinning]="isSpinning" [nzTip]="'正在初始化模块信息...'">
  <section class="in-index">
    <div class="table-bg" style="background: #ef4954;height: 60px;width: 100%;display:flex;align-items: center;justify-content: flex-start;width: 96% !important;margin: 0 auto;border-radius:4px !important;padding-left: 16px !important;">
      <div style="margin-right: 20px;color: #fff; ">{{collegeDepartmentName}}</div>
      <nz-input-group style="width: 200px; " (keydown)="classsearchinput($event) " nzSuffixIcon="anticon anticon-search ">
        <input [(ngModel)]="listSearchValue[0].propertyValue " type="text " nz-input placeholder="班级名称 ">
      </nz-input-group>
    </div>



    <nz-table [nzLoading]="loadingData " [nzFrontPagination]="false " [nzTotal]="listEntities.recordTotalCount " [(nzPageIndex)]="listEntities.currentPageIndex "
      (nzPageIndexChange)="getEntityListAsync(true) " [(nzPageSize)]="listEntities.pageSize " #nzTable #nzFixedHeader nzBordered
      #rowSelectionTable [nzData]="listEntities.entities ">
      <thead nz-thead>
        <tr>
          <th style="text-align: center; ">
            <span>班级名字</span>
          </th>
          <th style="text-align: center; ">
            <span>班级人数</span>
          </th>
          <th nz-th style="text-align: center; ">操作</th>
        </tr>
      </thead>
      <tbody nz-tbody style="text-align: center; ">
        <tr nz-tbody-tr *ngFor="let data of rowSelectionTable.data ">
          <td nz-td>
            <span>{{data.className}}</span>
          </td>
          <td nz-td>
            <span>{{data.studentCount}}</span>
          </td>
          <td nz-td>
            <a (click)="studentmanage(data.id) ">
              <i class="anticon anticon-edit "></i>查看详细列表</a>

            <a *ngIf="studnetstatus" (click)="studentapply(data.id)">
              <i class="anticon anticon-edit "></i>申请加入</a>
          </td>
        </tr>
      </tbody>
    </nz-table>
  </section>
</nz-spin>
